<?php
/**
 * controll the registration pation process
 *
 *
 */

class RegistrationInfo {
    private $patientCode = '';
    private $patientId = '';
    private $patientData = array();
    private $personData = array();
    private $insuranceData = array();
    private $personAddressData = array();
    
    function __construct($patientId, $patientCode) {
        $this->patientId = $patientId;
        $this->patientCode = $patientCode;
    }

    function setInsuranceData($data = array()) {
        $this->insuranceData = $data;
    }
    
    public function setPatientData($patientData = array()) {
        $this->patientData = $patientData;
    }
    public function setPersonData($personData = array()) {
        $this->personData = $personData;
    }
    public function setPersonAddressData($personAddressData = array()) {
        $this->personAddressData = $personAddressData;
    }

    public function getPatientData() {
        return $this->patientData ;
    }
    public function getPersonData() {
        return $this->personData;
    }
    public function getPersonAddressData() {
        return $this->personAddressData;
    }
    public function getInsuranceData() {
        return $this->insuranceData;
    }
    
    public function getPatientId() {
        return $this->patientId;
    }
    public function getPatientCode() {
        return $this->patientCode;
    }
}
?>